package com.ruoyi.project.search.viewOutHistory.mapper;

import java.util.List;
import com.ruoyi.project.search.viewOutHistory.domain.ViewOutHistory;

/**
 * 出库单据历史Mapper接口
 * 
 * @author ruoyi
 * @date 2023-08-30
 */
public interface ViewOutHistoryMapper 
{
    /**
     * 查询出库单据历史
     * 
     * @param stockoutDetailId 出库单据历史主键
     * @return 出库单据历史
     */
    public ViewOutHistory selectViewOutHistoryByStockoutDetailId(String stockoutDetailId);

    /**
     * 查询出库单据历史列表
     * 
     * @param viewOutHistory 出库单据历史
     * @return 出库单据历史集合
     */
    public List<ViewOutHistory> selectViewOutHistoryList(ViewOutHistory viewOutHistory);

    /**
     * 新增出库单据历史
     * 
     * @param viewOutHistory 出库单据历史
     * @return 结果
     */
    public int insertViewOutHistory(ViewOutHistory viewOutHistory);

    /**
     * 修改出库单据历史
     * 
     * @param viewOutHistory 出库单据历史
     * @return 结果
     */
    public int updateViewOutHistory(ViewOutHistory viewOutHistory);

    /**
     * 删除出库单据历史
     * 
     * @param stockoutDetailId 出库单据历史主键
     * @return 结果
     */
    public int deleteViewOutHistoryByStockoutDetailId(String stockoutDetailId);

    /**
     * 批量删除出库单据历史
     * 
     * @param stockoutDetailIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteViewOutHistoryByStockoutDetailIds(String[] stockoutDetailIds);
}
